﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;

namespace Windows.Infrastructure.Share.Security
{
    public interface ICurrentUser
    {
        long Id { get; }
        string UserName { get; }
        string Name { get; }
        string MobilePhone { get; }
        string? Email { get; }
        bool IsAdmin { get; }
        string[] Licenses { get; }
        Claim? FindClaim(string claimType);

        Claim[] FindClaims(string claimType);

        Claim[] GetAllClaims();
    }
}
